package ro.prjmanager.web.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Created by IntelliJ IDEA.
 * User: viorelt
 * Date: Aug 21, 2009
 * Time: 5:06:48 PM
 * To change this template use File | Settings | File Templates.
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface NomenclatorTarget {
     //the target method to be executed
    String editTarget();

    String deleteTarget();


    String addTarget();
    //the resource to be redirected to
    String resource();
    // the resource to be redirected in case of getting an InvocationTargetException
    String onFaildReturn() default "";


}
